<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
    <h:head>
        <title>Table description</title>
        <h:outputStylesheet name="styles.css" library="css"/>
        <h:outputStylesheet name="grid.css" library="css"/>
        <h:outputStylesheet name="tooltip.css" library="css"/>
        <h:outputStylesheet name="console.css" library="css"/>
    </h:head>
    <h:body>
        <f:view>
            <h:panelGroup id="wrapper" layout="block">
                <ui:include src="/resources/templates/header.xhtml"/>
                <h:panelGroup class="row" layout="block">
                    <h:panelGroup class="sixteen columns white-bg sp-azul" layout="block">
                        <h:panelGroup class="inner-columns overflow" layout="block">
                            <h1>Table's description : #{controllerWeb.selectedTable}</h1>
                            <ul class="content-list">
                                <ui:repeat value="#{controllerWeb.getTableDesc().entrySet().toArray()}" var="_entry"><li class="first">
                                        <span class="blue bold">
                                            <h:outputText value="#{_entry.key}"/>
                                        </span>
                                        <ul>
                                            <ui:repeat value="#{_entry.value}" var="_list"><li class="second">
                                                    <span>
                                                        <h:outputText value="#{_list}"/>
                                                    </span>
                                                </li></ui:repeat>
                                        </ul>
                                    </li></ui:repeat>
                            </ul>
                        </h:panelGroup>
                    </h:panelGroup>
                </h:panelGroup>
                <ui:include src="/resources/templates/footer.xhtml"/>
            </h:panelGroup>
        </f:view>
    </h:body>
</html>

